package io.github.stary1993.kite.admin.dto;

import io.github.stary1993.kite.admin.entity.SysUser;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.io.Serializable;

/**
 * @author stary1993
 * <p>
 */
@Schema(description = "用户信息")
@Data
public class UserInfo implements Serializable {

    /**
     * 用户基本信息
     */
    @Schema(description = "用户基本信息")
    private SysUser sysUser;

    /**
     * 权限标识集合
     */
    @Schema(description = "权限标识集合")
    private String[] permissions;

    /**
     * 角色集合
     */
    @Schema(description = "角色标识集合")
    private Long[] roles;

}
